package com.example.demo.service;

import com.example.demo.common.PageData;
import com.example.demo.common.ResponseData;
import com.example.demo.domain.User.UserInfo;
import com.example.demo.domain.User.UserLogin;
import com.example.demo.domain.User.UserQuery;

public interface IUserService {
    ResponseData<String> loginUser(UserLogin userLogin);

    ResponseData<String> registUser(UserInfo userInfo);

    public ResponseData<UserInfo> getUser(String userName);

    ResponseData<String> deleteUser(String userInfo);
    ResponseData<Boolean>modifyUser(UserInfo userInfo);
    ResponseData<PageData<UserInfo>> page(UserQuery userQuery);

    ResponseData<String> addUser(UserInfo userInfo);
}
